.class public Lcom/glympse/android/glympse/DlgContactPicker$ContactInfo;
.super Ljava/lang/Object;
.source "DlgContactPicker.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/glympse/android/glympse/DlgContactPicker;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0xc
    name = "ContactInfo"
.end annotation


# instance fields
.field protected m_eRecipientType:I

.field protected m_nImage:I

.field protected m_strData:Ljava/lang/String;

.field protected m_strLabel:Ljava/lang/String;


# direct methods
.method protected constructor <init>(IILjava/lang/String;Ljava/lang/String;)V
    .locals 0
    .parameter "eRecipientType"
    .parameter "nImage"
    .parameter "strLabel"
    .parameter "strData"

    .prologue
    .line 215
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 217
    iput p1, p0, Lcom/glympse/android/glympse/DlgContactPicker$ContactInfo;->m_eRecipientType:I

    .line 218
    iput p2, p0, Lcom/glympse/android/glympse/DlgContactPicker$ContactInfo;->m_nImage:I

    .line 219
    iput-object p3, p0, Lcom/glympse/android/glympse/DlgContactPicker$ContactInfo;->m_strLabel:Ljava/lang/String;

    .line 220
    iput-object p4, p0, Lcom/glympse/android/glympse/DlgContactPicker$ContactInfo;->m_strData:Ljava/lang/String;

    .line 221
    return-void
.end method


# virtual methods
.method public toString()Ljava/lang/String;
    .locals 2

    .prologue
    .line 226
    iget-object v0, p0, Lcom/glympse/android/glympse/DlgContactPicker$ContactInfo;->m_strLabel:Ljava/lang/String;

    invoke-static {v0}, Lcom/glympse/platform/common/Helpers;->IsEmpty(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/glympse/android/glympse/DlgContactPicker$ContactInfo;->m_strData:Ljava/lang/String;

    :goto_0
    return-object v0

    :cond_0
    new-instance v0, Ljava/lang/StringBuilder;

    iget-object v1, p0, Lcom/glympse/android/glympse/DlgContactPicker$ContactInfo;->m_strLabel:Ljava/lang/String;

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v1, ": "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/glympse/android/glympse/DlgContactPicker$ContactInfo;->m_strData:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    goto :goto_0
.end method
